<template>
	<view class="tag" :style="{border:cborder,background:cbackground,color:color}">
		{{text}}
	</view>
</template>

<script>
	export default {
		props: {
			cborder: {
				type: String,
				default: ""
			},
			cbackground: {
				type: String,
				default: ""
			},
			color: {
				type: String,
				default: ""
			},
			text: {
				type: String,
				default: ""
			}
		},
		data() {
			return {}
		},
		mounted() {
			console.log("000")
		},
		methods: {
			handleLink(url) {
				console.log(url)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.tag {
		border-radius: 42rpx 42rpx 42rpx 42rpx;
		border: 2rpx solid #FFFFFF;
		font-weight: 400;
		font-size: 24rpx;
		color: #000000;
		text-align: center;
		font-style: normal;
		padding: 4rpx 24rpx;
		margin-left: 16rpx;
		width: max-content;
	}
</style>